package org.techism.client.services;

import java.util.List;
import java.util.SortedMap;

import org.techism.client.bo.Group;

import com.google.gwt.user.client.rpc.RemoteService;
import com.google.gwt.user.client.rpc.RemoteServiceRelativePath;

@RemoteServiceRelativePath("groups")
public interface GroupService extends RemoteService {

    SortedMap<String, Integer> getTags();

    List<Group> getAllGroups();

    List<Group> getByTag(String tag);
}
